FROM java:8
EXPOSE 9090
ADD demo-0.0.1-SNAPSHOT.jar demo.jar
ENV JAVA_OPTS=""
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /demo.jar" ]
